<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:pe="http://primefaces.org/ui/extensions"
	xmlns:o="http://omnifaces.org/ui">
<h:head>
	<link rel="StyleSheet" href="../css/base.css" type="text/css" />
	<link rel="StyleSheet" href="../css/thetooltip.css" type="text/css" />

	<script type="text/javascript" src="../js/utils.js" />

	<link rel="Shortcut Icon" href="../images/favicon.ico"
		type="image/x-icon" />
	<div id="header">
		<ui:insert name="header">
			<title><ui:insert name="title">asohofrucol</ui:insert></title>
		</ui:insert>
	</div>
</h:head>

<h:body>
	<div id="main">
		<div class="clearfix  ">

			<div class="ui-form-row-col clearfix">
				<div class="ui-form-col text-align-left" style="width: 33%;">
					<h:outputText value="Usuario: #{aSession.userInfo.userName}" />
				</div>
			</div>

			<div class="ui-form-row-3col clearfix">

				<div class="ui-form-col text-align-left" style="width: 33%;">
					<p:commandLink actionListener="#{loginController.assistance}"
						style="margin-right:20px;"
						oncomplete="currentPage('../owner/list_owner_data.xhtml');">
						<h:outputText value="Registro Propietario" />
					</p:commandLink>

				</div>
				
				<div class="ui-form-col text-align-left" style="width: 33%;">
					<p:commandLink actionListener="#{loginController.assistance}"
						style="margin-right:20px;"
						oncomplete="currentPage('../assistance/list_assistance_data.xhtml');">
						<h:outputText value="Asistencia Técnica" />
					</p:commandLink>

				</div>
				<div class="ui-form-col text-align-right" style="width: 33%;">
					<p:commandLink id="logout"
						actionListener="#{loginController.logout}"
						style="margin-right:20px;" oncomplete="logout(xhr, status, args)">
						<h:outputText value="#{i18n['cmpnt.exit']}" />
					</p:commandLink>
				</div>
			</div>


		</div>
		<br />
		<div id="content" class="clearfix">
			<ui:insert name="content">
			</ui:insert>
		</div>
		<div class="ui-form-col text-align-left" style="width: 33%;">
			<br /> <br /> <br /> <br /> <a
				href="https://www.facebook.com/groups/559764894101828/"
				target="_blank">Grupo en Facebook</a> <br /> <br /> <a
				href="mailto:aplicacionpgat@gmail.com">aplicacionpgat@gmail.com</a>
		</div>
	</div>

</h:body>
</html>